package com.GUI.Lesson05;

import javax.swing.*;
import java.awt.*;

public class PanelDemo extends JFrame {
    public PanelDemo(){
        Container container = this.getContentPane();
        container.setLayout(new GridLayout(2,2,10,10));//行列上下间距
    }
    public static void main(String[] args) {

    }
}
